Sections Collection

Sections can come from either the Report Object or Area Object. The Sections Collection is a collection of section objects. Access a specific Section Object in the collection using the Item property.

Sections Collection Properties

Property Description Read/ Write Restriction in
event handler

Count

Long. Gets the number of section in the collection.

Read only

None

Item
(index)

Section Object. Gets reference to an item in the Collection. Item has an index parameter that can be either a string reference to the area section (i.e., for areas with one section: "RH", "PH", "GHn", "D", "GFn", "PF", or "RF") or a numeric, 1-based index (i.e., Item (1)) for the Report Header area. Numeric index for sections starts at 1 for first section in the area/report and continues in order of appearance. If the area has multiple sections, they are represented using a lowercase letter (for example, "Da", "Db", etc.).

Read only

None

Parent

Report Object or Area Object. Gets reference to the parent object.

Read only

None

Remarks

Instead of using the Item property as shown, you can reference a section directly, for example, Sections ("Da").



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com